import request from "@/utils/request";


export function login(username, password) {
    return request({
        url: '/auth/login',
        method: 'post',
        data: {
            username,
            password
        }
    })
}
export function doDGUTLogin() {
    return request({
        url: '/api1/login/dgut',
        method: 'get',
        params:{}
    })
}
export function doDGUTRedirLogin(url) {
    return request({
        url: '/api3'+url,
        method: 'get',
    })
}
